export default ({
    // 设置命名空间，方便日后维护可按模块查找排错等
    namespaced: true,
    state: {
        // 导航栏显示与隐藏
        isCollapse: false,
        // 显示与隐藏标题
        isTitle: true,
        // 显示修改密码对话框
        UserPasswordDialog: false,
        // 显示用户信息对话框
        UserListDialog: false,
    },
    getters: {},
    mutations: {
        collapseMenu(state) {
            state.isCollapse = !state.isCollapse
        },
        collapseTitle(state) {
            state.isTitle = !state.isTitle
        }
    },
    actions: {},
    modules: {}
})
